package com.fc.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OmsBargainList implements Serializable {
    /**
     * 主键ID
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * activity_bargainirg表主键id
     *
     * @mbggenerated
     */
    private Long bargainId;

    /**
     * 帮助者ID
     *
     * @mbggenerated
     */
    private Long assistorId;

    /**
     * 昵称
     *
     * @mbggenerated
     */
    private String nickname;

    /**
     * 头像
     *
     * @mbggenerated
     */
    private String icon;

    /**
     * 参与时间
     *
     * @mbggenerated
     */
    private Date createTime;

    /**
     * 砍掉价格
     *
     * @mbggenerated
     */
    private BigDecimal bargainMoney;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", bargainId=").append(bargainId);
        sb.append(", assistorId=").append(assistorId);
        sb.append(", nickname=").append(nickname);
        sb.append(", icon=").append(icon);
        sb.append(", createTime=").append(createTime);
        sb.append(", bargainMoney=").append(bargainMoney);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}